<span id="${uuid}"></span>

<div class="box_tc_s">
    <div data-id="tabs">
        <div title="基础数据">
            <table border="0" cellpadding="0" cellspacing="0" class="hydra-table">
                <c:if test="${not empty record.operator}">
                    <tr class="hydra-tr-bg" style="border-bottom: 1px dotted #ccc">
                        <td class="hydra-left">操作人员：</td>
                        <td class="hydra-right">
                                ${record.operator}
                        </td>
                    </tr>
                </c:if>
                <c:if test="${not empty record.operateTime}">
                    <tr class="hydra-tr-bg" style="border-bottom: 1px dotted #ccc">
                        <td class="hydra-left">操作时间：</td>
                        <td class="hydra-right">
                                <fmt:formatDate value="${record.operateTime}" pattern="yyyy-MM-dd H:mm:ss" />
                        </td>
                    </tr>
                </c:if>
                <c:forEach items="${record.tProcessParameters}" var="processParameter">
                    <tr class="hydra-tr-bg" style="border-bottom: 1px dotted #ccc">
                        <td class="hydra-left">${processParameter.fieldName}：</td>
                        <td class="hydra-right">
                            <span data-id="processValue" data-field-type="${processParameter.fieldType}">${processParameter.parameterValue}</span>${processParameter.unit eq '无' ? '' : processParameter.unit}
                            <c:if test="${not empty processParameter.parameterDevice}">
                                <span class="ml20">使用设备：${processParameter.parameterDevice}</span>
                            </c:if>
                        </td>
                    </tr>
                </c:forEach>
                <c:if test="${not empty record.result}">
                    <tr class="hydra-tr-bg">
                        <td class="hydra-left" style="border-bottom: 1px dotted #ccc">执行结果：</td>
                        <td class="hydra-right">
                                ${record.result}
                        </td>
                    </tr>
                </c:if>
            </table>
        </div>
        <c:if test="${not empty record.tExperimentalData}">
            <div title="实验数据">
                    <%--绘制折线图--%>
                <div data-id="data" style="overflow: hidden;padding: 10px;">
                </div>
            </div>
        </c:if>
    </div>
</div>
<script language="javascript">
    seajs.use("apps/lab/view", function (page) {
        page.init("${pageContext.request.contextPath}", "${uuid}", {
            totalSuit: "${pBom.suitAll}",
            rootPath: "${record.tExperimentalData.experimentalDataPath}",
            hasChart:"${record.tExperimentalData.hasChart}"
        });
    });
</script>